package org.jeecg.modules.demo.mes.service.impl;

import org.jeecg.common.exception.JeecgBootException;
import org.jeecg.modules.demo.mes.entity.MesOrderProcedureMaterial;
import org.jeecg.modules.demo.mes.mapper.MesOrderProcedureMaterialMapper;
import org.jeecg.modules.demo.mes.service.IMesOrderProcedureMaterialService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @Description: 工单明细物料
 * @Author: jeecg-boot
 * @Date:   2022-11-07
 * @Version: V1.0
 */
@Service
public class MesOrderProcedureMaterialServiceImpl extends ServiceImpl<MesOrderProcedureMaterialMapper, MesOrderProcedureMaterial> implements IMesOrderProcedureMaterialService {

    @Override
    public List<MesOrderProcedureMaterial> queryMappingListSelective(Map<String, Object> cxMap) throws JeecgBootException {
        if (cxMap==null){
            return new ArrayList<>();
        }
        return this.baseMapper.queryMappingListSelective(cxMap);
    }
}
